Eclipse Platform
Pre-release 3.0

org.eclipse.jface.text.source
Class OutlinerRulerColumn

java.lang.Object
  extended byorg.eclipse.jface.text.source.AnnotationRulerColumn
      extended byorg.eclipse.jface.text.source.OutlinerRulerColumn
All Implemented Interfaces:
IVerticalRulerColumn

public class OutlinerRulerColumn
extends AnnotationRulerColumn

A ruler column for controlling the behavior of a ProjectionSourceViewer. This class is for internal use only.

Since:
2.1

Constructor Summary
OutlinerRulerColumn(IAnnotationModel model, int width)
          Creates a new outliner ruler column.
 
Method Summary
 Control createControl(CompositeRuler parentRuler, Composite parentControl)
          Creates the column's SWT control.
protected  void mouseDoubleClicked(int line)
          Hook method for a mouse double click event on the given ruler line.
 
Methods inherited from class org.eclipse.jface.text.source.AnnotationRulerColumn
addAnnotationType, doPaint, doPaint1, getCachedTextViewer, getControl, getInclusiveTopIndexStartOffset, getModel, getWidth, redraw, removeAnnotationType, setFont, setModel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OutlinerRulerColumn

public OutlinerRulerColumn(IAnnotationModel model,
                           int width)
Creates a new outliner ruler column.

Parameters:
model - the column's annotation model
width - the width in pixels
Method Detail

mouseDoubleClicked

protected void mouseDoubleClicked(int line)
Description copied from class: AnnotationRulerColumn
Hook method for a mouse double click event on the given ruler line.

Overrides:
mouseDoubleClicked in class AnnotationRulerColumn
Parameters:
line - the ruler line

createControl

public Control createControl(CompositeRuler parentRuler,
                             Composite parentControl)
Description copied from interface: IVerticalRulerColumn
Creates the column's SWT control.

Specified by:
createControl in interface IVerticalRulerColumn
Overrides:
createControl in class AnnotationRulerColumn

Eclipse Platform
Pre-release 3.0

Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.